﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class TestEffect : MonoBehaviour
{
    public Transform Star1;

    public Transform Star2;

    public string EffectName;

    // Use this for initialization
    private void Start()
    {
    }

    // Update is called once per frame
    private void Update()
    {
        if (Input.GetKeyDown("t"))
        {
            EffectManager.Instance.Create(EffectName, Star1.transform.position, Star2.transform.position);
        }
    }
}